package com.endava.AssignmentsOperationsPresentation;

public class Ex5 {
	static double sum;
	
	public static void main(String[] args) {
		double a[]={1,1e2,3.0,4.754};
		
		for(int i=0;i<a.length;i++){
			sum+=a[i];
		}
		
		System.out.format("%.2f%n", sum);
	}

}
